package day5;

/**
 * @author oldliu
 * @since 1.0
 */
public class Arr1 {
    public static void main(String[] args) {
        int p[]=new int[10];
        int []a=new int[20];
        a[0]=99;
        a[1]=59;
        a[2]=99;
        System.out.println(a.length);
        System.out.println(a);
        System.out.println(a[1]);
        int k=a[2];
        //int m=a; error
        System.out.println("定义时直接赋值");
        int a1[]={1,2,3,54,67,10};
        int []a2=new int[]{1,2,3,4,6,7};

    }
}
